package org.dingfugui.triple.context;

/**
 * Created by fugui.ding on 2015/4/3.
 */
public class Event {
    private String name;
    private String method;
    private Class<?>[] types;
    private Object[] params;
    private Class<?> resultType;
    private Object result;

    public Event() {
    }

    public Event(String name, String method, Class<?>[] types, Object[] params) {
        this.name = name;
        this.method = method;
        this.types = types;
        this.params = params;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public Class<?>[] getTypes() {
        return types;
    }

    public void setTypes(Class<?>[] types) {
        this.types = types;
    }

    public Object[] getParams() {
        return params;
    }

    public void setParams(Object[] params) {
        this.params = params;
    }

    public Class<?> getResultType() {
        return resultType;
    }

    public void setResultType(Class<?> resultType) {
        this.resultType = resultType;
    }

    public Object getResult() {
        return result;
    }

    public void setResult(Object result) {
        this.result = result;
    }
}
